CmdUtils.CreateCommand({
	names: ["emule"],
	icon: "http://www.emule-project.net/emule.ico",
	author: {
		name: "tomchen1989",
		email: "tomchen1989@yahoo.com.cn"
	},
	license: "GPL",
	homepage: "http://emule-fans.com/emule-search-browser-plugins/",
	help: "emule",
	description: "Search for things in eD2k network using eMule",
	arguments: [{
		role: "object",
		nountype: noun_arb_text,
		label:"text to search for"
	}],
	preview: function( pblock, sParams ) {
		pblock.innerHTML = "Search eD2k using eMule for: " + sParams.object.text;
	},
	execute: function( sParams ) {
		var sP = "ed2k://|search|" + sParams.object.text + "|/";
		Application.activeWindow.open(Utils.url(sP));
	}
})